package com.marcowu.study.spb.tracing;

import com.marcowu.study.spb.tracing.resource.SampleResource;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.ws.rs.ApplicationPath;

@Configuration
@ApplicationPath("/zipkinTest")
public class OpenTracingResourceConfig extends ResourceConfig {

  @PostConstruct
  public void init() {
    register(SampleResource.class);
  }
}
